<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
     <style type="text/css">
 * {margin: 0;padding: 0;}
body {background:url("http://localhost:8080/SSH/image/7.7.jpg");}
div{margin: 0 auto;}
.news_box{width: 40%;height: 600px; position: relative; }
.news_title{width: 80%;height: 40px; position:absolute;top:10px;left: 0px; }
.news_content{width: 80%;height: 150px;position:absolute;top:70px;left: 0px;}
.news_time_maker{width: 200px;;height: 100px;position:absolute;top:240px;left: 0px;}
textarea {border: 5px solid goldenrod; border-radius: 15px; padding-left:10px;}
input {width: 250px;height: 25px;border: 3px solid goldenrod; border-radius: 5px; margin-top: 15px;padding-left: 10px;}
#input{background-color: goldenrod}
span {color: goldenrod;	font-weight: bolder;	align: center;}
   .box{background-color: black;border-radius: 300px;width: 50%;height: 400px;
   margin-top:150px;
   position: absolute;
   top:50px;
   left: 0;
   background: url("http://localhost:8080/SSH/image/1022.jpg") center;
   border: 3px inset black;
   }
   .box .news_box{}
     </style>
    </head>
    <body>
    <div class="box">
       <div class="news_box"> 
       	   <span>发布新闻</span>
       	   <form action="addNewsAction" method="post">
              <div class="title"> 
            <!--  <input type="text" name="news_id" placeholder="新闻编号">  -->
              <input type="text" name="title" placeholder="新闻标题">
              
              </div>
                 <div class="content"><textarea name="content" rows="10" cols="40" placeholder="新闻内容"></textarea></div>
                   <div class="news_time_maker">
                     <input type="text" name="time" placeholder="发布时间">
                 <input type="text" name="maker" placeholder="发布人" >
              <input type="submit" value="发     布 " id="input">
           </div>
        </form>
     </div> 
     </div> 
  </body>
</html>